Integrand size = 15, antiderivative size = 73 \[ \int \frac {\left (a+\frac {b}{x}\right )^{5/2}}{x} \, dx=-2 a^2 \sqrt {a+\frac {b}{x}}-\frac {2}{3} a \left (a+\frac {b}{x}\right )^{3/2}-\frac {2}{5} \left (a+\frac {b}{x}\right )^{5/2}+2 a^{5/2} \text {arctanh}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right ) \]
[Out]
Time = 0.02 (sec) , antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {272, 52, 65, 214} \[ \int \frac {\left (a+\frac {b}{x}\right )^{5/2}}{x} \, dx=2 a^{5/2} \text {arctanh}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right )-2 a^2 \sqrt {a+\frac {b}{x}}-\frac {2}{3} a \left (a+\frac {b}{x}\right )^{3/2}-\frac {2}{5} \left (a+\frac {b}{x}\right )^{5/2} \]
[In]
[Out]
Rule 52
Rule 65
Rule 214
Rule 272
Rubi steps \begin{align*} \text {integral}& = -\text {Subst}\left (\int \frac {(a+b x)^{5/2}}{x} \, dx,x,\frac {1}{x}\right ) \\ & = -\frac {2}{5} \left (a+\frac {b}{x}\right )^{5/2}-a \text {Subst}\left (\int \frac {(a+b x)^{3/2}}{x} \, dx,x,\frac {1}{x}\right ) \\ & = -\frac {2}{3} a \left (a+\frac {b}{x}\right )^{3/2}-\frac {2}{5} \left (a+\frac {b}{x}\right )^{5/2}-a^2 \text {Subst}\left (\int \frac {\sqrt {a+b x}}{x} \, dx,x,\frac {1}{x}\right ) \\ & = -2 a^2 \sqrt {a+\frac {b}{x}}-\frac {2}{3} a \left (a+\frac {b}{x}\right )^{3/2}-\frac {2}{5} \left (a+\frac {b}{x}\right )^{5/2}-a^3 \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,\frac {1}{x}\right ) \\ & = -2 a^2 \sqrt {a+\frac {b}{x}}-\frac {2}{3} a \left (a+\frac {b}{x}\right )^{3/2}-\frac {2}{5} \left (a+\frac {b}{x}\right )^{5/2}-\frac {\left (2 a^3\right ) \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+\frac {b}{x}}\right )}{b} \\ & = -2 a^2 \sqrt {a+\frac {b}{x}}-\frac {2}{3} a \left (a+\frac {b}{x}\right )^{3/2}-\frac {2}{5} \left (a+\frac {b}{x}\right )^{5/2}+2 a^{5/2} \tanh ^{-1}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right ) \\ \end{align*}
Time = 0.13 (sec) , antiderivative size = 63, normalized size of antiderivative = 0.86 \[ \int \frac {\left (a+\frac {b}{x}\right )^{5/2}}{x} \, dx=-\frac {2 \sqrt {a+\frac {b}{x}} \left (3 b^2+11 a b x+23 a^2 x^2\right )}{15 x^2}+2 a^{5/2} \text {arctanh}\left (\frac {\sqrt {a+\frac {b}{x}}}{\sqrt {a}}\right ) \]
[In]
[Out]
Time = 0.04 (sec) , antiderivative size = 92, normalized size of antiderivative = 1.26
method | result | size |
risch | \(-\frac {2 \left (23 a^{2} x^{2}+11 a b x +3 b^{2}\right ) \sqrt {\frac {a x +b}{x}}}{15 x^{2}}+\frac {a^{\frac {5}{2}} \ln \left (\frac {\frac {b}{2}+a x}{\sqrt {a}}+\sqrt {a \,x^{2}+b x}\right ) \sqrt {\frac {a x +b}{x}}\, \sqrt {x \left (a x +b \right )}}{a x +b}\) | \(92\) |
default | \(-\frac {\sqrt {\frac {a x +b}{x}}\, \left (-30 \sqrt {a \,x^{2}+b x}\, a^{\frac {7}{2}} x^{4}-15 \ln \left (\frac {2 \sqrt {a \,x^{2}+b x}\, \sqrt {a}+2 a x +b}{2 \sqrt {a}}\right ) a^{3} b \,x^{4}+30 \left (a \,x^{2}+b x \right )^{\frac {3}{2}} a^{\frac {5}{2}} x^{2}+16 a^{\frac {3}{2}} \left (a \,x^{2}+b x \right )^{\frac {3}{2}} b x +6 \left (a \,x^{2}+b x \right )^{\frac {3}{2}} \sqrt {a}\, b^{2}\right )}{15 x^{3} b \sqrt {x \left (a x +b \right )}\, \sqrt {a}}\) | \(145\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 142, normalized size of antiderivative = 1.95 \[ \int \frac {\left (a+\frac {b}{x}\right )^{5/2}}{x} \, dx=\left [\frac {15 \, a^{\frac {5}{2}} x^{2} \log \left (2 \, a x + 2 \, \sqrt {a} x \sqrt {\frac {a x + b}{x}} + b\right ) - 2 \, {\left (23 \, a^{2} x^{2} + 11 \, a b x + 3 \, b^{2}\right )} \sqrt {\frac {a x + b}{x}}}{15 \, x^{2}}, -\frac {2 \, {\left (15 \, \sqrt {-a} a^{2} x^{2} \arctan \left (\frac {\sqrt {-a} \sqrt {\frac {a x + b}{x}}}{a}\right ) + {\left (23 \, a^{2} x^{2} + 11 \, a b x + 3 \, b^{2}\right )} \sqrt {\frac {a x + b}{x}}\right )}}{15 \, x^{2}}\right ] \]
[In]
[Out]
Time = 2.29 (sec) , antiderivative size = 97, normalized size of antiderivative = 1.33 \[ \int \frac {\left (a+\frac {b}{x}\right )^{5/2}}{x} \, dx=- \frac {46 a^{\frac {5}{2}} \sqrt {1 + \frac {b}{a x}}}{15} - a^{\frac {5}{2}} \log {\left (\frac {b}{a x} \right )} + 2 a^{\frac {5}{2}} \log {\left (\sqrt {1 + \frac {b}{a x}} + 1 \right )} - \frac {22 a^{\frac {3}{2}} b \sqrt {1 + \frac {b}{a x}}}{15 x} - \frac {2 \sqrt {a} b^{2} \sqrt {1 + \frac {b}{a x}}}{5 x^{2}} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 75, normalized size of antiderivative = 1.03 \[ \int \frac {\left (a+\frac {b}{x}\right )^{5/2}}{x} \, dx=-a^{\frac {5}{2}} \log \left (\frac {\sqrt {a + \frac {b}{x}} - \sqrt {a}}{\sqrt {a + \frac {b}{x}} + \sqrt {a}}\right ) - \frac {2}{5} \, {\left (a + \frac {b}{x}\right )}^{\frac {5}{2}} - \frac {2}{3} \, {\left (a + \frac {b}{x}\right )}^{\frac {3}{2}} a - 2 \, \sqrt {a + \frac {b}{x}} a^{2} \]
[In]
[Out]
Exception generated. \[ \int \frac {\left (a+\frac {b}{x}\right )^{5/2}}{x} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Time = 6.31 (sec) , antiderivative size = 60, normalized size of antiderivative = 0.82 \[ \int \frac {\left (a+\frac {b}{x}\right )^{5/2}}{x} \, dx=-\frac {2\,a\,{\left (a+\frac {b}{x}\right )}^{3/2}}{3}-\frac {2\,{\left (a+\frac {b}{x}\right )}^{5/2}}{5}-2\,a^2\,\sqrt {a+\frac {b}{x}}-a^{5/2}\,\mathrm {atan}\left (\frac {\sqrt {a+\frac {b}{x}}\,1{}\mathrm {i}}{\sqrt {a}}\right )\,2{}\mathrm {i} \]
[In]
[Out]